//
//  CTHomePageLogic.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/5/21.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CTHomePageItems.h"

typedef void (^requestSuccessBlock) ();
typedef void (^requestFailedBlock) ();

@interface CTHomePageLogic : NSObject

-(void)hotSpotsRequest:(CTRequestHotSpotsItem *)item
 successCompletionHandler:(requestSuccessBlock)successBlock
            failedHandler:(requestFailedBlock)failedBlock;


-(void)hotSpotsDetailRequest:(CTRequestHotSpotsDetailItem*)item
successCompletionHandler:(requestSuccessBlock)successBlock
         failedHandler:(requestFailedBlock)failedBlock;

//翻页Flip
-(void)hotSpotsDetailFlipRequest:(CTRequestHotSpotsDetailItem *)item
         successCompletionHandler:(requestSuccessBlock)successBlock
                    failedHandler:(requestFailedBlock)failedBlock;


-(void)subjectRequest:(CTRequestSubjectItem *)item
     successCompletionHandler:(requestSuccessBlock)successBlock
                failedHandler:(requestFailedBlock)failedBlock;


@end
